class CreateUserInfos < ActiveRecord::Migration
  def self.up
    create_table :user_infos do |t|
      t.column :user_id, :integer, :null => false
      t.column :city_id, :integer
      t.column :address,:string,:limit => 64
      t.column :postalcode, :string, :limit => 6
      t.column :telephone, :string, :limit => 32
      t.column :picture, :string, :limit => 128
      t.column :idiograph, :string, :limit => 64
      
    end
  end

  def self.down
    drop_table :user_infos
  end
end
